package com.imti.roomdemo;

import androidx.annotation.NonNull;
import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "stu_info")
public class StuEntity
{

    @PrimaryKey
    public int _id;

    @ColumnInfo(name = "stu_name")
    @NonNull
    public String stuName;

    @ColumnInfo(name = "stu_age")
    public int stuAge;

    @ColumnInfo(name = "stu_gender")
    public String stuGender;
}
